home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 1.iso / dist / fw_analog.idb / usr / freeware / src / analog / patches.z / patches
Text File  |  2002-07-08  |  4KB  |  102 lines

  1. --- ./src/Makefile    Tue May 14 16:20:07 2002
  2. +++ ../analog-5.23/./src/Makefile    Tue May 28 13:17:05 2002
  3. @@ -4,7 +4,7 @@
  4.  #   in the "build" directory.
  5.  CC = gcc           # which compiler to use: eg cc, acc, gcc. NB Different
  6.  #                    compilers need different CFLAGS, e.g., -O instead of -O2.
  7. -MAKE = make        # which "make" to use
  8. +#MAKE = make        # which "make" to use
  9.  CFLAGS = -O2    # options, e.g. for optimisation or ANSI compilation.
  10.  #                 HP/UX cc needs CFLAGS = -Aa (HP/UX 9) or -Ae (HP/UX 10)
  11.  #                 BeOS needs CFLAGS = -O2 -Wl,-L/boot/home/config/lib
  12. @@ -140,7 +140,7 @@
  13.  
  14.  force:
  15.      rm -f $(ALLOBJS)
  16. -    make $(PROGRAM) 'CFLAGS=$(CFLAGS)' 'LIBS=$(LIBS)' \
  17. +    $(MAKE) $(PROGRAM) 'CFLAGS=$(CFLAGS)' 'LIBS=$(LIBS)' \
  18.      'DEFS=$(DEFS)' 'CC=$(CC)'
  19.  
  20.  clean:
  21. --- ./src/anlghead.h    Tue May 14 16:20:07 2002
  22. +++ ../analog-5.23/./src/anlghead.h    Tue May 28 13:08:02 2002
  23. @@ -42,7 +42,7 @@
  24.  #endif
  25.  
  26.  #ifndef IMAGEDIR
  27. -#define IMAGEDIR "images/"
  28. +#define IMAGEDIR "/analog/images/"
  29.  /* URL of the directory where the images for the graphical reports live.
  30.     The URL can be absolute, or relative to the output page: e.g., just the
  31.     empty string "" for the same directory as the output page. */
  32. @@ -61,7 +61,7 @@
  33.  #endif
  34.  
  35.  #ifndef DEFAULTCONFIGFILE
  36. -#define DEFAULTCONFIGFILE "analog.cfg"
  37. +#define DEFAULTCONFIGFILE "/usr/freeware/etc/analog.cfg"
  38.  /* The name of the default configuration file. */
  39.  #endif
  40.  
  41. --- ./src/anlghea2.h    Tue May 14 16:20:07 2002
  42. +++ ../analog-5.23/./src/anlghea2.h    Tue May 28 13:08:25 2002
  43. @@ -400,7 +400,7 @@
  44.  /* Default output type: HTML, PLAIN, ASCII, COMPUTER or CACHE */
  45.  
  46.  #ifndef LANGUAGE
  47. -#define LANGUAGE (ENGLISH)
  48. +#define LANGUAGE (US_ENGLISH)
  49.  /* Default language for the output page:
  50.     ARMENIAN, BULGARIAN, BULGARIAN_MIK, CATALAN, TRAD_CHINESE (Big5), CZECH,
  51.     CZECH_1250, DANISH, DUTCH, ENGLISH, US_ENGLISH, FINNISH, FRENCH, GERMAN,
  52. --- ./anlgform.html    Tue May 14 16:20:00 2002
  53. +++ ../analog-5.23/./anlgform.html    Tue May 28 13:10:02 2002
  54. @@ -5,7 +5,7 @@
  55.  </head>
  56.  
  57.  <body>
  58. -<h1><!-- img src="/images/analogo.gif" alt="" --> Analog form interface</h1>
  59. +<h1><img src="/analog/images/analogo.gif" alt=""> Analog form interface</h1>
  60.  
  61.  <!-- This version is in British English. Forms in other languages can be -->
  62.  <!-- found in the "lang" folder or directory. -->
  63. @@ -16,7 +16,7 @@
  64.  
  65.  <!-- Next, uncomment the following line, edited to reflect the correct -->
  66.  <!-- location of anlgform.pl in you server's filespace. -->
  67. -<!-- form action="/cgi-bin/anlgform.pl" method="POST" -->
  68. +<form action="/cgi-bin/anlgform.pl" method="POST">
  69.  
  70.  <!-- Many systems will want the IMAGEDIR to be different on the form -->
  71.  <!-- than from the command line, because it should not be within /cgi-bin/ -->
  72. --- ./anlgform.pl    Tue May 14 16:20:00 2002
  73. +++ ../analog-5.23/./anlgform.pl    Tue May 28 13:11:12 2002
  74. @@ -1,4 +1,4 @@
  75. -#!/usr/bin/perl -T
  76. +#!/usr/freeware/bin/perl -T
  77.  ###
  78.  ###              analog 5.23             http://www.analog.cx/
  79.  ### This program is copyright (c) Stephen R. E. Turner 1995 - 2002 except as
  80. @@ -15,6 +15,7 @@
  81.  #    lines to give the location (full pathname) of the analog executable.
  82.  #       Unix: $analog = '/usr/local/etc/httpd/analog-5.23/analog';
  83.  #       Windows: $analog = 'C:\program files\analog 5.23\analog.exe';
  84. +$analog = '/usr/freeware/bin/analog';
  85.  # 2) If you're on Unix, edit the first line in this file to give the location
  86.  #    of Perl (don't remove the #! though).
  87.  # 3) You also need to edit anlgform.html if you want to use the form.
  88. --- ./Makefile    Tue May 14 16:20:00 2002
  89. +++ ../analog-5.23/./Makefile    Tue May 28 13:11:26 2002
  90. @@ -5,9 +5,9 @@
  91.  PROGRAM = analog
  92.  
  93.  $(PROGRAM): ALWAYS
  94. -    cd src && make
  95. +    cd src && $(MAKE)
  96.  
  97.  clean:
  98. -    cd src && make clean
  99. +    cd src && $(MAKE) clean
  100.  
  101.  ALWAYS:
  102.